package com.example.demo.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by 蔡超 on 2019/1/6.
 */
@FeignClient("ORDER-SERVICE")
public interface UserClient {

    @PutMapping("/info")
    public  String  info();
}
